<script setup name="App">
import { stores } from '@/stores/index.js'
const userStore = stores.useUserStore()
const themeStore = stores.useThemeStore()
//当前设置了主题色则应用该主题色,
//测试有撤回提交
const color = localStorage.getItem(userStore.userInfor.cardNumber + '_themeColor')
if (color) {
  themeStore.setThemeColor(color)
} else {
  themeStore.setThemeColor('#367fa9')
}
</script>

<template>
  <router-view></router-view>
</template>

<style scoped></style>
